home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 January / Macworld (1997-01).dmg / Shareware World / Comms & Internet / Grant's CGI Framework / cgi test.txt next >
Text File  |  1996-08-27  |  673b  |  16 lines

  1. set CGIResult to ""
  2.  
  3. with timeout of 99999 seconds
  4.     tell application "cgi-fat.acgi"
  5.         set CGIResult to CGI "path" method "POST" search "search+here" post ¬
  6.             "Field1=Some+text&field+2=%80that's+percent+80" client address ¬
  7.             "grant.mac.home" usermail "grant@acm.org" username "GRANT" password ¬
  8.             "TEST" server address "192.0.1.2" server port "80" script name "" referer ¬
  9.             "http://arpp.carleton.ca/cgi/framework/" user agent "AppleScript" content type ¬
  10.             "text/plain" action name "TEST" action path "" client IP "192.0.1.2" full request "" connection 1
  11.     end tell
  12. end timeout
  13.  
  14. return CGIResult
  15. --activate me
  16. --display dialog CGIResult buttons {"OK"} default button 1